package com.atmc.service;

import com.atmc.bean.Rule;
import com.atmc.mapper.RuleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RuleServiceImpl implements RuleService{
    @Autowired
    RuleMapper ruleMapper;
    @Override
    public List<Rule> selectAll() {
        return ruleMapper.selectAll();
    }
}
